package com.jwj.testback.recordsheet.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author JWJ
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Recordsheet对象", description="")
public class Recordsheet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "原数据库")
    private String databaseName;

    @ApiModelProperty(value = "原数据表")
    private String tableName;

    @ApiModelProperty(value = "目标数据库")
    private String newdataName;

    @ApiModelProperty(value = "新数据表名")
    private String newtableName;

    @ApiModelProperty(value = "模式，0.年 1.月 2.周 3.日")
    private Integer type;

    @ApiModelProperty(value = "结束时间，1.按年 2.按月 3.按周 4.按日")
    private Integer endType;

    @ApiModelProperty(value = "是否确定删除 0.不删除 1.删除")
    private Integer sure;

    @ApiModelProperty(value = "原数据表主键字段")
    private String tableIdName;

    @ApiModelProperty(value = "自定义开始时间")
    private String customStart;

    @ApiModelProperty(value = "自定义结束时间")
    private String customEnd;

    @ApiModelProperty(value = "状态，0.失败 1.成功 2.进行中")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date time;

    @ApiModelProperty(value = "结束时间")
    private Date endtime;

    @ApiModelProperty(value = "花费时间")
    private String spendtime;

}
